package thefirst.LessonBoard.model;

import thefirst.member.model.MemberVO;
import thefirst.member.model.StudentVO;

public class LessonBoardVO extends MemberVO {
	private int lessonno;
	private String studentid;
	private String grade;
	private String title;
	private String datePosted;
	private String hopeday;
	private int hits;
	private String content;
	private String hopetime;
	private String hopesubject;
	private String connectstate;
	private String classteacherid;
	private MemberVO memberVO;
	private StudentVO studentVO;
	private String name;
	private String pageNo;

	public LessonBoardVO() {
		super();
		// TODO Auto-generated constructor stub
	}

	public LessonBoardVO(int lessonno, String studentid, String grade,
			String title, String datePosted, String hopeday, int hits,
			String content, String hopetime, String hopesubject,
			String connectstate, String classteacherid, MemberVO memberVO,
			StudentVO studentVO, String name, String pageNo) {
		super();
		this.lessonno = lessonno;
		this.studentid = studentid;
		this.grade = grade;
		this.title = title;
		this.datePosted = datePosted;
		this.hopeday = hopeday;
		this.hits = hits;
		this.content = content;
		this.hopetime = hopetime;
		this.hopesubject = hopesubject;
		this.connectstate = connectstate;
		this.classteacherid = classteacherid;
		this.memberVO = memberVO;
		this.studentVO = studentVO;
		this.name = name;
		this.pageNo = pageNo;
	}

	public int getLessonno() {
		return lessonno;
	}

	public void setLessonno(int lessonno) {
		this.lessonno = lessonno;
	}

	public String getStudentid() {
		return studentid;
	}

	public void setStudentid(String studentid) {
		this.studentid = studentid;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDatePosted() {
		return datePosted;
	}

	public void setDatePosted(String datePosted) {
		this.datePosted = datePosted;
	}

	public String getHopeday() {
		return hopeday;
	}

	public void setHopeday(String hopeday) {
		this.hopeday = hopeday;
	}

	public int getHits() {
		return hits;
	}

	public void setHits(int hits) {
		this.hits = hits;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getHopetime() {
		return hopetime;
	}

	public void setHopetime(String hopetime) {
		this.hopetime = hopetime;
	}

	public String getHopesubject() {
		return hopesubject;
	}

	public void setHopesubject(String hopesubject) {
		this.hopesubject = hopesubject;
	}

	public String getConnectstate() {
		return connectstate;
	}

	public void setConnectstate(String connectstate) {
		this.connectstate = connectstate;
	}

	public String getClassteacherid() {
		return classteacherid;
	}

	public void setClassteacherid(String classteacherid) {
		this.classteacherid = classteacherid;
	}

	public MemberVO getMemberVO() {
		return memberVO;
	}

	public void setMemberVO(MemberVO memberVO) {
		this.memberVO = memberVO;
	}

	public StudentVO getStudentVO() {
		return studentVO;
	}

	public void setStudentVO(StudentVO studentVO) {
		this.studentVO = studentVO;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPageNo() {
		return pageNo;
	}

	public void setPageNo(String pageNo) {
		this.pageNo = pageNo;
	}

	@Override
	public String toString() {
		return super.toString()+", lessonno=" + lessonno + ", studentid="
				+ studentid + ", grade=" + grade + ", title=" + title
				+ ", datePosted=" + datePosted + ", hopeday=" + hopeday
				+ ", hits=" + hits + ", content=" + content + ", hopetime="
				+ hopetime + ", hopesubject=" + hopesubject + ", connectstate="
				+ connectstate + ", classteacherid=" + classteacherid
				+ ", memberVO=" + memberVO + ", studentVO=" + studentVO
				+ ", name=" + name + ", pageNo=" + pageNo + "]";
	}

}
